public class questionA {
    public static void main(String[] args) {
        System.out.println("******购物清单*******");
        System.out.println("购买物品\t"+"单价\t"+"个数\t"+"金额");
        int tShirt=245;
        int tShirtNum=2;
        int shoe=570;
        int shoeNum=1;
        int racket=320;
        int racketNum=1;
        System.out.println("T恤 t"+"￥"+tShirt+"\t"+tShirtNum+"\t"+tShirt*tShirtNum);
        System.out.println("网球鞋|t"+"￥"+shoe+"t"+shoeNum+"t"+shoe*shoeNum);
        System.out.println("网球拍\t"+"￥"+racket+"\t"+racketNum+"\t"+racket*racketNum);
        System.out.println();
        double discout = 0.8;
        System.out.println("折扣:t"+discout);
        double all =(tShirt*tShirtNum+shoe*shoeNum+racket*racketNum)* discout;
        System.out.println("消费总金额:\t"+all);
        int pay = 1500;
        System.out.println("实际交费\t"+"￥"+pay);
        double exitPay = pay-all;
        System.out.println("找钱:\t"+"￥"+exitPay);
        System.out.println("本次购物所获的积分是:"+33);
    }
}
